projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f838180
)
(ftfont_spec_pattern): Free charset if necessary.
author
Kenichi Handa
<handa@m17n.org>
Fri, 23 May 2008 02:11:22 +0000
(
02:11
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Fri, 23 May 2008 02:11:22 +0000
(
02:11
+0000)
src/ftfont.c
patch
|
blob
|
history
diff --git
a/src/ftfont.c
b/src/ftfont.c
index 72deedd73c31426bdd3e0c791c048593261141e4..0f1d2b1421b21b8f1fe3c4443f3637bd252f6f51 100644
(file)
--- a/
src/ftfont.c
+++ b/
src/ftfont.c
@@
-617,6
+617,7
@@
ftfont_spec_pattern (spec, fc_charset_idx, otlayout, otspec)
finish:
if (langset) FcLangSetDestroy (langset);
+ if (charset && *fc_charset_idx < 0) FcCharSetDestroy (charset);
return pattern;
}